import pageTools from '@/components/PageTools/index.vue'
import UploadExcel from '@/components/UploadExcel/index.vue'
import ImageUpload from '@/components/ImageUpload/index.vue'
import Print from 'vue-print-nb'
import Screenfull from '@/components/Screenfull/index.vue' // 导入打印插件
import ThemePicker from '@/components/ThemePicker/index.vue'
import lang from './lang'
import TagsView from './TagsView'

export default {
  install(Vue) {
    Vue.component(pageTools.name, pageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('Screenfull', Screenfull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('lang', lang)
    Vue.component('TagsView', TagsView)
    Vue.use(Print) // 安装打印插件
  }
}
